/**
 * @Description: 收费项目相关API接口
 * @Author: 梁青春
 * @Date: 2025-11-03 11:00:00
 */

import request from '@/utils/request'

// 获取收费项目列表
export function getChargeItemList(params) {
  return request({
    url: '/system/treatment/list',
    method: 'get',
    params
  })
}
// 获取收费项目列表不分页
export function getChargeItemListNoPage(params) {
  return request({
    url: '/system/treatment/listAll',
    method: 'get',
    params
  })
}
// 获取收费项目详情
export function getChargeItemDetail(id) {
  return request({
    url: `/system/treatment/${id}`,
    method: 'get'
  })
}
